package com.neusoft.neuiotms.dcom.service.problem;

import com.neusoft.bizcore.auth.common.bean.UserBean;
import com.neusoft.neuiotms.dcom.dto.problem.ProblemRegistrationDTO;

public interface ProblemRegistrationService {

    ProblemRegistrationDTO create(final ProblemRegistrationDTO dto, UserBean user);

    ProblemRegistrationDTO detail(String workOrderNum, String taskId, UserBean user);

    ProblemRegistrationDTO findByWorkOrderNumAndTaskId(String workOrderNum, String taskId);

    void deleteByWorkOrderNum(String workOrderNum);

    void deleteMongoFile(String fsId);

    ProblemRegistrationDTO findByWorkNum(String workOrderNum);
}
